package com.longma.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author HAIBO
 * @since 2021-04-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="InspectionPlan对象", description="")
public class InspectionPlan implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "首次工作日期")
    private LocalDateTime firstDate;

    @ApiModelProperty(value = "下次工作日期")
    private LocalDateTime nextDate;

    @ApiModelProperty(value = "负责人id")
    private Integer mainPersonId;

    @ApiModelProperty(value = "协作人id")
    private Integer corPersonId;

    @ApiModelProperty(value = "频次")
    private Integer frequency;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "是否停用")
    private Integer isOff;

    @ApiModelProperty(value = "备注")
    private String note;


}
